<?php include PATH_VIEWS . 'common/header.php'; ?>
<div class="main">
    <?php include PATH_VIEWS . 'common/left.php'; ?>
    <div class="main_right welcome_right" id="slide">
        <dl>
            <dt>
            <h4>广告分类列表</h4>
            </dt>
            <dd>
                <table class="system_envir chuli">                  
                    <tr>
                        <th>序号</th>
                        <th>标题</th>
                        <th>主图预览</th>
                        <th>附图预览</th>
                        <th>排序</th>
                        <th>操作</th>
                    </tr>
                    <?php foreach ($info_list as $key => $ls) { ?>
                        <tr>
                            <td><?php echo ($key + 1); ?></td>
                            <td><?php echo $ls['Ftitle']; ?></td>
                            <td><img src="<?php echo HTTP_UPLOAD . $ls['Fimg'] ?>" height="50"/></td>
                            <td>
                                <?php foreach (BaseYsp::jsonDeCode($ls['Fimgs']) as $ls2) { ?>
                                    <img src="<?php echo HTTP_UPLOAD . $ls2['imagePath'] ?>" height="50"/>
                                <?php } ?>
                            </td>
                            <td><?php echo $ls['Fsort']; ?></td>
                            <td>
                                <a href="index.php?C=<?php echo trim($_GET['C']); ?>&A=<?php echo trim($_GET['A']); ?>&way=E&primarykey=<?php echo $ls['Fid']; ?>">修改</a>
                                <a href="index.php?C=<?php echo trim($_GET['C']); ?>&A=<?php echo trim($_GET['A']); ?>&way=D&primarykey=<?php echo $ls['Fid']; ?>" onclick="return getConfirm()">删除</a>
                            </td>
                        </tr>
                    <?php } ?>
                </table>
            </dd>
        </dl>
    </div>
</div>
<?php include PATH_VIEWS . 'common/footer.php'; ?>